import {createStore} from 'vuex'
// 全局模块
import global from './modules/global'
// 局部模块
import kugouNet from './modules/kugouNet'
import collection from './modules/collection'
import history from './modules/history'
import local from './modules/local'

export default createStore({
    // 全局模块
    ...global,
    // 局部模块
    modules: {
        kugouNet,
        collection,
        history,
        local
    }
})
